package com.etc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.etc.mapper.EmpMapper;
import com.etc.pojo.Emp;
import com.etc.service.IHelloService;

@Service
public class HelloServiceImpl implements IHelloService {

    @Autowired
    EmpMapper mapper;
    
    @Override
    public Emp findById(Integer id) {
        return mapper.selectByPrimaryKey(id);
    }

}
